* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?1lv3na');
    src: url('fonts/icomoon.eot?1lv3na#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?1lv3na') format('truetype'),
        url('fonts/icomoon.woff?1lv3na') format('woff'),
        url('fonts/icomoon.svg?1lv3na#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


body {
    background-color: #f3f5f7;
    /* height: 2500px; */
}

/* 取消input button的默认样式 */
input,
button {
    border: 0;
    outline: none;

}

.w {
    width: 1200px;
    margin: 0 auto;
}

.header {
    height: 42px;
    /* background-color: pink; */
    margin: 30px auto;
}

.logo {

    width: 195px;
    height: 41px;
    /* background-color: tomato; */
}

.nav {
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    font-size: 18px;
    color: #050505;
    line-height: 42px;
}

.nav ul li a:hover {
    border-bottom: solid 2px #00a4ff;
    color: #00a4ff;
}

.search {
    margin: 0 70px;
    height: 42px;
    width: 412px;
    /* background-color: navajowhite; */
}

.search input {
    width: 360px;
    height: 42px;
    border: solid 1px #00a4ff;
    border-right: 0;
    font-size: 14px;
    padding-left: 17px;
}

.search button {
    width: 50px;
    height: 42px;
    border: 0;
    /* background-color: orangered; */
    /* 按钮button默认有个边框 需要我们手动去除 */
    background-image: url(./images/btn.png);
}

.user {
    line-height: 42px;
    margin-right: 10px;
    font-size: 14px;
    color: #666666;
}

.user img {
    /* css提高会讲，图片于文字基线对齐 */
    vertical-align: middle;
}

.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .w {
    height: 420px;
    background: url(./images/banner2.png) no-repeat top center;
}

.subnav {
    width: 190px;
    height: 420px;
    background-color: rgba(0, 0, 0, .3);
}

.subnav ul li {
    margin: 0 20px;
    line-height: 45px;
    height: 45px;
}

.subnav ul li a {
    font-size: 14px;
    color: #ffffff;

}

.subnav ul li a::after {
    float: right;
    font-family: 'icomoon';
    content: '\e920';
}

.subnav ul li a:hover {
    color: #00b4ff;
}

.course {
    width: 230px;
    height: 300px;
    background-color: #fff;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
}

.course h2 {
    line-height: 48px;
    height: 48px;
    color: #ffffff;
    background-color: #9bceea;
    text-align: center;
    font-size: 18px;
}

.course .bd {
    padding: 0 20px;
}

.bd ul li {
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.bd ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.bd .more {
    display: block;
    margin-top: 5px;
    /* width: 190px; */
    height: 40px;
    border: 1px solid #00a4ff;
    color: #00b4ff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
}

.goods {
    height: 60px;
    line-height: 60px;
    background-color: #ffffff;
    margin-top: 10px;
    box-shadow: 0px 2px 3px 0px rgba(118, 118, 118, 0.2);
}

.goods ul li {
    float: left;

}

.goods h3 {
    font-size: 16px;
    color: #00a4ff;
    margin: 0 30px;
}

.goods>a {
    font-size: 14px;
    margin-right: 34px;
    color: #00a4ff;
}

.goods ul li a {
    padding: 0 30px;
    color: #050505;
    font-size: 14px;
    border-left: 1px solid #bfbfbf;
}

.box {
    margin-top: 30px;
    /* height: 1000px; */
    /* background-color: #00b4ff; */
}

.box-hd {
    height: 45px;
    /* background-color: pink; */
}

.box-hd h3 {
    font-size: 20px;
}

.box-hd a {
    color: #a5a5a5;
    font-size: 12px;
    margin: 10px 30px 0 0;
}

.box .box-bd ul li:nth-last-child(-n+5) {
    margin-bottom: 0;
}

.box .box-bd ul li {
    position: relative;
    margin: 0 15px 15px 0;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
}

.box .box-bd ul .last {
    margin-right: 0;
}

.box-bd li a img {
    width: 100%;
}

.box-bd li>img {
    position: absolute;
    top: 4px;
    right: -4px;
}

.box-bd li h4 {
    margin: 20px 20px 20px 25px;
    font-weight: 400;
    font-size: 14px;
    color: #050505;
}

.box-bd .info {
    margin: 0 20px 0 25px;
    font-size: 12px;
    color: #999999;
}

.box-bd .info span {
    color: #ff7c2d;
}

.box1 {
    margin-top: 30px;
    /* height: 500px; */
    /* background-color: coral; */
}

.nav1 {
    margin-right: 352px;
    margin-top: 5px;
}

.box1 .box-hd ul li {
    float: left;
}

.box1 .box-hd ul li a {
    font-size: 16px;
    color: #868686;
    padding: 0 35px;
    margin: 0;
}

.box1 .box-hd ul li a:hover {
    color: #00b4ff;
}

.box1 .box-bd1 {
    background-color: white;
    /* height: 500px; */
}

.box1 .box-bd1 .left {
    width: 228px;
    height: 392px;
    /* background-color: cadetblue; */
}

.box1 .box-bd1 .top {
    width: 957px;
    height: 100px;
    /* background-color: darkgoldenrod; */
}

.box1 .box-bd1 .bottom {
    width: 957px;
    height: 270px;
    /* background-color: darkred; */
    margin-top: 22px;
}

.box1 .box-bd1 .bottom li {
    margin-right: 15px;
    float: left;
    width: 228px;
    height: 270px;
    /* background-color: white; */
}

.box1 .box-bd1 .bottom .last1 {
    margin-right: 0;
}

.box1 .box-bd1 .bottom img {
    width: 100%;
}

/* .box1 .box-bd2{
    height: 800px;
    background-color: violet;
} */
.box1 .box-bd2 li {
    margin-right: 15px;
    float: left;
    width: 228px;
    height: 270px;
    background-color: thistle;
}

.box1 .box-bd2 .last2 {
    margin-right: 0;
}

.box1 .box-bd2 img {
    width: 100%;
}

.footer {
    margin-top: 40px;
    height: 417px;
    background-color: white;
}

.footer .ft .ft-left {
    width: 430px;
    height: 417px;
    /* background-color: yellow; */
}

.footer .ft .ft-left img,
.footer .ft .ft-left p,
.footer .ft .ft-left button {
    margin: 30px 0 0 20px;

}

.footer .ft .ft-left p {
    font-size: 12px;
    line-height: 18px;
    color: #666
}

.footer .ft .ft-left button {
    width: 120px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    line-height: 36px;
    color: #00b4ff;
    background-color: #fff;
    border: solid 1px #00b4ff;
}

.footer .ft .ft-right {
    width: 570px;
    height: 417px;
    /* background-color: brown; */

}

.footer .ft .ft-right ul {
    display: inline-block;
    margin: 40px 60px 0 0;
}

.footer .ft .ft-right ul h3 {
    font-size: 16px;
    line-height: 21px;
    color: #333333;
}

.footer .ft .ft-right ul li {
    font-size: 12px;
    line-height: 21px;
    color: #333;
}